Skip to content

fix(android): raise minSdkVersion to 24 so Play accepts the bundle - #551

Merged
DeepDiver1975 merged 1 commit into
mainfrom
fix/550-android-min-sdk-24
Oct 2, 2026
Merged

DeepDiver1975 merged 1 commit into
mainfrom
fix/550-android-min-sdk-24

Conversation

@DeepDiver1975

Copy link
Copy Markdown
Contributor

Summary

Play automatic protection rejects an App Bundle whose minSdkVersion is below 24, so the 0.7.0 .aab could not be uploaded to internal testing. This raises the floor to Android 7.0 (API 24).

Fixes #550

Changes

  • LageBuch.App.Android.csproj: SupportedOSPlatformVersion 23 → 24.
  • AndroidManifest.xml: drop the hardcoded android:minSdkVersion="23". The issue didn't list this one, but the csproj change alone isn't enough: just like versionCode/versionName (see the comment at the top of the manifest), a value declared in the manifest overrides the csproj. The csproj is now the only place it is set.
  • release.yml: next to the ABI guard, read the APK's minSdk with aapt2 dump badging and fail below 24, so a regression fails CI instead of the Play upload. It accepts both badging spellings: current build-tools print minSdkVersion:'24', older ones sdkVersion:'24'. If aapt2 can't be found, the guard fails rather than passing silently.
  • README Installation: "ab Android 6.0 (API 23)" → "ab Android 7.0 (API 24)".
  • Changelog fragment changelog.d/+android-min-sdk-24.changed.md.

Paired website PR for download.md will follow and is linked below.

Verification

  • make apk CONFIG=Release: the merged manifest has minSdkVersion="24", and aapt2 dump badging reports minSdkVersion:'24'.
  • The release.yml guard, run as a script locally: passes on this APK and fails on the released lagebuch-0.7.0.apk (minSdkVersion '23').
  • make clean ci: 0 warnings, 0 errors, all 8 test assemblies passed (2510 tests), no Test Run Failed.
  • Still open, and the acceptance criterion in Android: Play rejects the 0.7.0 bundle — minSdkVersion 23 is below Play automatic protection's floor of 24 #550: after tagging v0.7.1, make aab VERSION=0.7.1 and upload to internal testing.

Impact: Android 6.0 devices can no longer install the app. The sideload .apk gets the same floor because it is rendered from the same bundle.

Checklist

  • Commits follow Conventional Commits and are DCO signed off
  • Commits are cryptographically signed
  • dotnet build and dotnet test pass locally
  • One changelog entry in changelog.d/
  • UI changes include before/after screenshots (n/a, no UI change)
  • No real master data / personnel data committed

🤖 Generated with Claude Code

Play automatic protection rejects an App Bundle below API 24, so the
0.7.0 .aab could not be uploaded. Raise SupportedOSPlatformVersion to 24
and drop the minSdkVersion the manifest hardcoded: like versionCode, a
value declared there overrides the csproj, so the csproj alone would not
have moved it.

release.yml now reads the APK's minSdkVersion with aapt2 and refuses a
floor below 24, so a regression fails the build instead of the upload.
It accepts both badging spellings (minSdkVersion: from current
build-tools, sdkVersion: from older ones).

Android 6.0 devices can no longer install the app; README updated.

Fixes #550

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>
DeepDiver1975 added a commit to CodeForFire/codeforfire.github.io that referenced this pull request Oct 2, 2026
Google Play refuses a bundle below API 24, so the app's floor moves up
(CodeForFire/lagebuch#550, CodeForFire/lagebuch#551).

Signed-off-by: Thomas Müller <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
DeepDiver1975 added a commit to CodeForFire/codeforfire.github.io that referenced this pull request Oct 2, 2026
Google Play refuses a bundle below API 24, so the app's floor moves up
(CodeForFire/lagebuch#550, CodeForFire/lagebuch#551).

Signed-off-by: Thomas Müller <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

Paired website PR: CodeForFire/codeforfire.github.io#10 (download.md Installation line).

@DeepDiver1975
DeepDiver1975 merged commit a1be394 into main Oct 2, 2026
6 checks passed
@DeepDiver1975
DeepDiver1975 deleted the fix/550-android-min-sdk-24 branch October 2, 2026 15:20
DeepDiver1975 added a commit to CodeForFire/codeforfire.github.io that referenced this pull request Oct 2, 2026
Google Play refuses a bundle below API 24, so the app's floor moves up
(CodeForFire/lagebuch#550, CodeForFire/lagebuch#551).

Signed-off-by: Thomas Müller <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
DeepDiver1975 added a commit to CodeForFire/codeforfire.github.io that referenced this pull request Oct 2, 2026
Google Play refuses a bundle below API 24, so the app's floor moves up
(CodeForFire/lagebuch#550, CodeForFire/lagebuch#551).

Signed-off-by: Thomas Müller <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android: Play rejects the 0.7.0 bundle — minSdkVersion 23 is below Play automatic protection's floor of 24

1 participant